package com.somedemo.java_design_patterns_demo.abs_factory;

public class YellowPhoneAAFactory implements ColorAndProductFactory{
    @Override
    public IColor getColor() {
        YellowColor yellowColor = new YellowColor();
        return yellowColor;
    }

    @Override
    public IProduct getProduct() {
        return new PhoneAA();
    }
}
